package com.candy.candymessage.business.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.candy.candycommon.utils.ResultBean;
import com.candy.candymessage.business.entity.MsgNoticeDto;
import com.candy.candymessage.business.mapper.MsgNoticeMapper;
import com.candy.candymessage.business.service.MsgNoticeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author suYanLong
 * @version 1.0
 * @date 2023/4/13 17:36
 * @Description 描述
 */
@Slf4j
@Service
public class MsgNoticeServiceImpl extends ServiceImpl<MsgNoticeMapper, MsgNoticeDto> implements MsgNoticeService {

    @Override
    public ResultBean asyncMsgNotice() {
        // 1、入库
        // 2、发送异步事件
        // 3、异步事件中收到结果回调
        return null;
    }

    @Override
    public ResultBean syncMsgNotice() {
        return null;
    }

}
